package com.qf.spring2202.annotation.Impl;

import com.qf.spring2202.annotation.dao.UserDao;
import com.qf.spring2202.annotation.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public User getUserById(Integer id) {
        User user = new User();
        user.setId(id);
        user.setName("zhangsan");
        return user;
    }
}
